<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>课程管理</title>
  <link rel="stylesheet" href="../static/layui/css/layui.css">
<style>
    body{margin: 30px;}
</style>
</head>
<body>
	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend>课程管理</legend>
</fieldset>
 
<div class="layui-form">
  <table class="layui-table">
    <colgroup>
      <col width="150">
      <col width="150">
      <col width="150">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>开设课程</th>
        <th>开课时间</th>
        <th>选课人数</th>
        <th>课程管理</th>
      </tr> 
    </thead>
    <tbody>
      <tr>
        <td>操作系统</td>
        <td>秋季</td>
        <td>10</td>
        <td>  
        	<a href = "ScoreAdd.jsp" class="layui-btn layui-btn-primary layui-btn-xs" >查看</a>
 		</td>
      </tr>
            <tr>
        <td>数据结构</td>
        <td>秋季</td>
        <td>10</td>
        <td>  
        	<a href = "ScoreAdd.jsp"  class="layui-btn layui-btn-primary layui-btn-xs" >查看</a>
 		</td>
      </tr>
	 <tr>
        <td>操作系统</td>
        <td>秋季</td>
        <td>10</td>
        <td>  
        	<a href = "ScoreAdd.jsp" class="layui-btn layui-btn-primary layui-btn-xs" >查看</a>
 		</td>
      </tr>
            <tr>
        <td>数据结构</td>
        <td>秋季</td>
        <td>10</td>
        <td>  
        	<a href = "ScoreAdd.jsp"  class="layui-btn layui-btn-primary layui-btn-xs" >查看</a>
 		</td>
      </tr>
       <tr>
        <td>操作系统</td>
        <td>秋季</td>
        <td>10</td>
        <td>  
        	<a href = "ScoreAdd.jsp" class="layui-btn layui-btn-primary layui-btn-xs" >查看</a>
 		</td>
      </tr>
            <tr>
        <td>数据结构</td>
        <td>秋季</td>
        <td>10</td>
        <td>  
        	<a href = "ScoreAdd.jsp"  class="layui-btn layui-btn-primary layui-btn-xs" >查看</a>
 		</td>
      </tr>

      
      
    </tbody>
  </table>
</div>

		<div class="layui-col-md10">
		<div id="test1"></div>
		</div>
	
<script src="../static/layui/layui.js"></script>
<script>
//JavaScript代码区域
layui.use(['laypage','table','layer'], function(){
  var table = layui.table
  ,laypage = layui.laypage
  ,layer = layui.layer;
  
  laypage.render({
	    elem: 'test1' //注意，这里的 test1 是 ID，不用加 # 号
	    ,count: 50 //数据总数，从服务端得到
	    ,theme: '#1E9FFF'
	  });
});




</script>	
</body>
</html>